<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="module">
	// import Promise from "./index.js";
    // 1- 返回的永远都是失败的Promise实例,接收的值即是失败的值
    // const p = Promise.reject(1);
	// console.log(p);
    //
	const p = Promise.reject(new Promise(resolve=>resolve(200)));
	console.log(p);



</script>
</html>